<?php

use yii\db\Migration;

class m170224_093050_alter_customer_dues extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%customer_dues}}','mode','tinyint(2)  default 0 comment \'所属类型（1共同体 2综合体 3管弦乐）\'');
    }

    public function safeDown()
    {
        $this->dropColumn('{{%customer_dues}}','mode');
    }
}
